* Distribution of attitudes - > table

version 13.1
use querschnitt-2013.dta , replace 

do survey-features

* party identification

gen PIUnion = altpi1 * 100
lab var PIUnion "PI CDU/CSU"
gen PISPD = altpi2  * 100
lab var PISPD "PI SPD"
gen PIFDP = altpi3 * 100
labe var PIFDP "PI FDP"
gen PIGruene = altpi4 * 100
lab var PIGruene "PI B90/Gr�ne"
gen PILinke = altpi5 * 100
lab var PILinke "PI Linke"

gen anypi = pi * 100 
lab var anypi "PI: alle"

* attitudes
qui svy: mean  wilagut regzufr angstschulden altcandidate* PI* anypi  lire prosozialismus  sozialsteuern gegenzuwanderung gerechtigkeitwichtig, over (distostwest) 

* 
esttab, b(%9.1f) noobs nonote nomtitle nonumber label  not nostar  b

esttab using nachfragetabelle.rtf , b(%9.1f) noobs nonote nomtitle nonumber label  not nostar  b rtf replace

